/**
 * Copyright 2013 Net355 Co,.Ltd. 
 * All rights reserved.
 *
 * "EbNote.java is for what: "
 * 
 * Create by Ray at 2013-12-12 下午2:23:15.
 * Ray [email:rayinhangzhou@126.com]
 * 
 * Revision History
 *
 * Date            Programmer                   Notes
 * ---------    ---------------------  -----------------------------------
 * 2013-12-12            Ray                       initial
 **/


package com.net355.eblog.models;

import java.util.ArrayList;
import java.util.List;

public class EbNote implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String guid;
	private String title;
	private String content;
	private String contentHash;
	private int contentLength=0;
	private List<String> tags=new ArrayList<String>();
	private String notebookGuid;
	private int viewCount=0;
//	private int chatCount=0;
	private long updateTime=0;
	
	
	public String getGuid() {
		return guid;
	}
	public void setGuid(String guid) {
		this.guid = guid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getContentHash() {
		return contentHash;
	}
	public void setContentHash(String contentHash) {
		this.contentHash = contentHash;
	}
	public int getContentLength() {
		return contentLength;
	}
	public void setContentLength(int contentLength) {
		this.contentLength = contentLength;
	}
	public List<String> getTags() {
		if(tags==null) {
			return new ArrayList<String>();
		}
		return tags;
	}
	public void setTags(List<String> tags) {
		this.tags = tags;
	}
	public String getNotebookGuid() {
		return notebookGuid;
	}
	public void setNotebookGuid(String notebookGuid) {
		this.notebookGuid = notebookGuid;
	}
	public int getViewCount() {
		return viewCount;
	}
	public void setViewCount(int viewCount) {
		this.viewCount = viewCount;
	}
//	public int getChatCount() {
//		return chatCount;
//	}
//	public void setChatCount(int chatCount) {
//		this.chatCount = chatCount;
//	}
	public long getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(long updateTime) {
		this.updateTime = updateTime;
	}

	
}
